package io.file;

import java.io.File;

public class FileSrcCD {
    public static void main(String[] args) {
        File fsrc=new File("C:\\Users\\Linngdu664\\Desktop\\C++exp\\cmake-build-debug");
        getAllFile(fsrc);
    }
    public static void getAllFile(File f){
        File[] fArr =f.listFiles();
        if(fArr!=null){
            for(File file:fArr){
                if(file.isDirectory()){
                    getAllFile(file);
                }else{
                    System.out.println(file.getAbsolutePath());
                }
            }
        }
    }
}
